/**
 * Application entity. Getters & setters.
 * @author andrea.ghisa
 */
package com.xoomworks.rsfr.model;


import java.io.Serializable;

/**
 * The persistent class for the applications database table.
 */

public class Application extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    private String applicationKey;

    private String applicationName;

    /**
     * Constructor with no fields.
     */
    public Application() {
    }

    /**
     * Constructor with the specified parameters.
     * @param applicationKey String Represents the simplified code of an application name (e.g. mozilla, chrome)
     * @param applicationName String Represents the browser type from which the user accesses the web-site.
     */
    public Application(final String applicationKey, final String applicationName) {
        super();
        this.applicationKey = applicationKey;
        this.applicationName = applicationName;
    }

    /**
     * Gets the current applicationKey.
     * @return applicationKey
     */
    public String getApplicationKey() {
        return this.applicationKey;
    }

    /**
     * Sets the applicationKey according to the given parameter.
     * @param applicationKey String which is used to set the applicationKey
     */
    public void setApplicationKey(final String applicationKey) {
        this.applicationKey = applicationKey;
    }

    /**
     * Gets the current applicationName.
     * @return applicationName
     */
    public String getApplicationName() {
        return this.applicationName;
    }

    /**
     * Sets the applicationName according to the given parameter.
     * @param applicationName dsa
     */
    public void setApplicationName(final String applicationName) {
        this.applicationName = applicationName;
    }

}
